package vcluster.engine.groupexecutor;


import vcluster.global.Config;
import vcluster.util.PrintMsg;
import vcluster.util.PrintMsg.DMsgType;

public class BatchSystemExecutor {

	public static boolean check_pool() 
	{
		/* if available, call; otherwise print out error */
		if (Config.currentPlugIn.isAvailable())
			return Config.currentPlugIn.check_pool();

		PrintMsg.print(DMsgType.ERROR, "PlugIn is not available");

		return false;
	}
	
	public static boolean check_q() 
	{
		/* if available, call; otherwise print out error */
		if (Config.currentPlugIn.isAvailable())
			return Config.currentPlugIn.check_pool();

		PrintMsg.print(DMsgType.ERROR, "PlugIn is not available");

		return false;
	}
}
